package com.seesman.application.maintenance.common.gui.utilities;

import java.text.MessageFormat;
import java.util.Locale;
import java.util.ResourceBundle;

public class MessageFormatUtil {

	private static String location = "com.seesman.application.properties.";
	
	public static String format(String bundle, String str)
    {
        ResourceBundle myResources = ResourceBundle.getBundle(location + bundle, Locale.ENGLISH);
        return MessageFormat.format(myResources.getString(str), (Object) null);
    }
	
}
